﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/design.Master" CodeBehind="cakeTag.aspx.vb" Inherits="CakeThatIBaked.cakeTag" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="theheader">
        Tag a Cake
    </div>
    <div class="thecontainer">
        
    <div class="thecontainerleft">
        
         Click on any of these tags you think suits this cake<br />
            <asp:CheckBoxList ID="cbl_tags" runat="server" DataSourceID="SqlDataSource1" 
                DataTextField="TagName" DataValueField="ID" RepeatDirection="Horizontal" 
                RepeatLayout="Flow">
            </asp:CheckBoxList>
            <br />
            Or type in your own tags sepearte by a comma (,) e.g fun,fantastic<br />
            <asp:TextBox ID="tb_tags" runat="server" Width="382px"></asp:TextBox>
            <br />
            <asp:Button ID="btn_tag" runat="server" Text="Tag This Cake" />
            <br />
            <br />
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:CakeConnection %>" 
                ProviderName="<%$ ConnectionStrings:CakeConnection.ProviderName %>" 
                SelectCommand="SELECT [ID], [TagName] FROM [CakeTags]"></asp:SqlDataSource>
        
        
        </asp:LoginView>
           
        
        </div>
        
        <div class="thecontainerright">
        Thanks for helping Tag a cake this enables all the users of the site to gain access to excellent information. Each Tag session gives you 1 cakepoint.
        </div>
    </div>

</asp:Content>
